<template>
	<image class="wrap-bg-img" mode="widthFix" :src="$staticImagePath(bgImg)" />
</template>

<script>
	export default {
		props: {
			bgImg: {
				type: String,
				default: "common/top_bg.png",
			},
		},
	};
</script>

<style scoped>
	.wrap-bg-img {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		z-index: -1;
	}
</style>
